package com.itfreer.content.task;

import com.itfreer.core.file.Utils;
import com.itfreer.core.file.FileMeta;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务表
 */
@DatabaseTable(tableName = "gather_task")
public class TaskEntity implements Serializable {

    /**
     * 主健
     */
    @DatabaseField(columnName = "id", id = true, useGetSet = true, width = 50)
    private String id;

    private Boolean column = false;

    /**
     * 任务标题
     */
    @DatabaseField(columnName = "taskTheme", useGetSet = true, width = 100)
    private String taskTheme;

    /**
     * 巡查周期
     */
    @DatabaseField(columnName = "cycle", useGetSet = true, width = 50)
    private String cycle;

    @DatabaseField(columnName = "cycleName", useGetSet = true, width = 50)
    private String cycleName;

    /**
     * 任务类型
     */
    @DatabaseField(columnName = "taskType", useGetSet = true, width = 50)
    private String taskType;

    @DatabaseField(columnName = "taskTypeName", useGetSet = true, width = 50)
    private String taskTypeName;

    /**
     * 任务年份
     */
    @DatabaseField(columnName = "year", useGetSet = true, width = 50)
    private String year;

    /**
     * 任务内容
     */
    @DatabaseField(columnName = "content", useGetSet = true, width = 1000)
    private String content;

    /**
     * 附件
     */
    @DatabaseField(columnName = "image", dataType = DataType.LONG_STRING, useGetSet = true)
    private String image;

    /**
     * 发布时间
     */
    @DatabaseField(columnName = "createTime", useGetSet = true, width = 50)
    private java.util.Date createTime;

    /**
     * 发布者
     */
    @DatabaseField(columnName = "createUserID", useGetSet = true, width = 50)
    private String createUserID;

    /**
     * 发布者
     */
    @DatabaseField(columnName = "createUserName", useGetSet = true, width = 50)
    private String createUserName;

    /**
     * 巡查时长
     */
    @DatabaseField(columnName = "duration", useGetSet = true, width = 50)
    private String duration;

    /**
     * 巡查里程
     */
    @DatabaseField(columnName = "mileage", useGetSet = true, width = 50)
    private String mileage;

    /**
     * 巡查单位
     */
    @DatabaseField(columnName = "unit", useGetSet = true, width = 50)
    private String unit;

    @DatabaseField(columnName = "unitName", useGetSet = true, width = 50)
    private String unitName;

    /**
     * 巡查人员
     */
    @DatabaseField(columnName = "ower", dataType = DataType.LONG_STRING, useGetSet = true)
    private String ower;

    @DatabaseField(columnName = "owerName", useGetSet = true, width = 50)
    private String owerName;

    /**
     * 巡查次数
     */
    @DatabaseField(columnName = "count", useGetSet = true, width = 50)
    private String count;

    /**
     * 备注
     */
    @DatabaseField(columnName = "remark", useGetSet = true, width = 50)
    private String remark;

    /**
     * 巡护状态
     * */
    @DatabaseField(columnName = "status", useGetSet = true, width = 50)
    private String status;

    /**
     * 更新人ID
     */
    @DatabaseField(columnName = "updateUserID", useGetSet = true, width = 50)
    private String updateUserID;

    /**
     * 更新人
     */
    @DatabaseField(columnName = "updateUserName", useGetSet = true, width = 50)
    private String updateUserName;

    /**
     * 更新时间
     */
    @DatabaseField(columnName = "updateTime", useGetSet = true, width = 50)
    private java.util.Date updateTime;

    @DatabaseField(columnName = "nowTime", useGetSet = true, width = 50)
    private String nowTime;


    @DatabaseField(columnName = "secretKey", useGetSet = true, width = 50)
    private String secretKey;

//    @DatabaseField(columnName = "handleList", useGetSet = true, width = 1000)
//    private java.util.List<String> handleList;

    /**
     * 主健
     */
    public String getId() {
        return id;
    }

    /**
     * 主健
     */
    public void setId(String value) {
        this.id = value;
    }

    /**
     * 任务标题
     */
    public String getTaskTheme() {
        return taskTheme;
    }

    /**
     * 任务标题
     */
    public void setTaskTheme(String taskTheme) {
        this.taskTheme = taskTheme;
    }

    /**
     * 巡查周期
     */
    public String getCycle() {
        return cycle;
    }

    /**
     * 巡查周期
     */
    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    /**
     * 巡查周期
     */
    public String getCycleName() {
        return cycleName;
    }

    /**
     * 巡查周期
     */
    public void setCycleName(String cycleName) {
        this.cycleName = cycleName;
    }

    /**
     * 任务类型
     */
    public String getTaskType() {
        return taskType;
    }

    /**
     * 任务类型
     */
    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    /**
     * 任务类型
     */
    public String getTaskTypeName() {
        return taskTypeName;
    }

    /**
     * 任务类型
     */
    public void setTaskTypeName(String taskTypeName) {
        this.taskTypeName = taskTypeName;
    }

    /**
     * 任务年份
     */
    public String getYear() {
        return year;
    }

    /**
     * 任务年份
     */
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * 任务内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 任务内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 附件
     */
    public String getImage() {
        return image;
    }

    /**
     * 附件
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 发布时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 发布时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 发布人ID
     */
    public String getCreateUserID() {
        return createUserID;
    }

    /**
     * 发布人ID
     */
    public void setCreateUserID(String createUserID) {
        this.createUserID = createUserID;
    }

    /**
     * 发布人名称
     */
    public String getCreateUserName() {
        return createUserName;
    }

    /**
     * 发布人名称
     */
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getOwer() {
        return ower;
    }

    public void setOwer(String owers) {
        this.ower = ower;
    }

    public String getOwerName() {
        return owerName;
    }

    public void setOwerName(String owerName) {
        this.owerName = owerName;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpdateUserID() {
        return updateUserID;
    }

    public void setUpdateUserID(String updateUserID) {
        this.updateUserID = updateUserID;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getNowTime() {
        return nowTime;
    }

    public void setNowTime(String nowTime) {
        this.nowTime = nowTime;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    @DatabaseField(columnName = "starttime", useGetSet = true, width = 50)
    private java.util.Date starttime;

    @DatabaseField(columnName = "enttime", useGetSet = true, width = 50)
    private java.util.Date enttime;

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEnttime() {
        return enttime;
    }

    public void setEnttime(Date enttime) {
        this.enttime = enttime;
    }
}
